package com.iv.durian.cloud.dao.mapper;

import com.iv.durian.cloud.RandomCode;
import org.apache.ibatis.annotations.Param;

public interface RandomCodeMapper {

    RandomCode get(String key);

    int add(@Param("randomCode") RandomCode randomCode);

    int update(@Param("key")String key,@Param("code")String code);

}
